package com.jy.api.util;import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;/** * 加密工具类 */public class BCryptUtils {    public static String encrypt(String password) {        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();        return bCryptPasswordEncoder.encode(password);    }}